home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / cool / ge_cool.lha / GE_COOL2.1 / man / oldman3 / calendar.3T < prev    next >
Text File  |  1992-06-26  |  2KB  |  71 lines

  1. .TH CALENDAR
  2. .SH NAME
  3. calendar  Symbolic and string calendar names
  4. .SH SYNOPSIS
  5. #include <cool/calendar.h>
  6. .SH DESCRIPTION
  7. The calendar include file contains enumeration declarations for day and 
  8. month names of the types 
  9.  day_of_week 
  10. and 
  11.  months . 
  12. The file declares two static 
  13.  char* 
  14. arrays of printable day and month names. The constants in the enumerated 
  15. types can be used as indexes for these names. In addition, an array indexed by 
  16. type 
  17.  month 
  18. specifying the number of days in the month is also provided. 
  19. Finally, the file defines several macros for typical date and time constants, 
  20. along with a macro determining if a year is a leap year.  In the following 
  21. tables, the enum declaration is on the left and the static 
  22.  char* 
  23. string is on the right.
  24. .sp
  25. .nf
  26. .ta 2.5i
  27. \f2Enumeration Declaration    Character String\f1
  28. \l'4.0i'
  29. .PP
  30. SUNDAY    "Sunday"
  31. MONDAY    "Monday"
  32. TUESDAY    "Tuesday"
  33. WEDNESDAY    "Wednesday"
  34. THURSDAY    "Thursday"
  35. FRIDAY    "Friday"
  36. SATURDAY    "Saturday"
  37. \l'4.0i'
  38. .fi
  39. .PP
  40. .nf
  41. .ta 2.5i
  42. \f2Enumeration Declaration    Character String\f1
  43. \l'4.0i'
  44. .PP
  45. JANUARY    "January"
  46. FEBRUARY    "February"
  47. MARCH    "March"
  48. APRIL    "April"
  49. MAY    "May"
  50. JUNE    "June"
  51. JULY    "July"
  52. AUGUST    "August"
  53. SEPTEMBER    "September"
  54. OCTOBER    "October"
  55. NOVEMBER    "November"
  56. DECEMBER    "December"
  57. \l'4.0i'
  58. .fi
  59. .SH COPYRIGHT
  60.  
  61. Copyright (C) 1991 Texas Instruments Incorporated.
  62.  
  63. Permission is granted to any individual or institution to use, copy, modify,
  64. and distribute this software, provided that this complete copyright and
  65. permission notice is maintained, intact, in all copies and supporting
  66. documentation.
  67.  
  68. Texas Instruments Incorporated provides this software "as is" without
  69. express or implied warranty.
  70.  
  71.